const Mock = require('mockjs')

const data = Mock.mock({
	"list|20-30": [{
		"id": "@id",
		"createTime": '@datetime',
		"tel": /1[3-9]\d{9}/,
		"price": '@integer(200, 20000)',
		"payMethod|1": ["支付宝", "微信"],
		"state|1": ["待付款", "待发货", "已发货", "已完成", "已关闭"]
	}]
})

module.exports = data